package com.example.coursemanagement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cairunxing
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Course implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程名
     */
    private String courseName;

    /**
     * 授课教师
     */
    private String teacherName;

    /**
     * 封面链接
     */
    private String photo;


    /**
     * 课程简介
     */
    private String introduction;

    /**
     * 属性(0:公开课，1：定制课，2：普通课）
     */
    private Integer attribute;

    /**
     * 课时
     */
    private Integer classHour;



}
